import request from '@/utils/request'

export default{
    getPageList(page, limit){
        return request({
            url:`http://localhost:8001/eduservice/teacherfront/getTeacherFrontPageList/${page}/${limit}`,
            method: 'post'
        })
    },

    //根据ID查询讲师本身信息+课程信息
        getTeacherInfoByid(id){
            return request({
                url: `http://localhost:8001/eduservice/teacherfront/getTeacherInfo/${id}`,
                method: `get`
            })
        },
}
